package spittr.web;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import spittr.data.SpittleNotFoundException;

@ControllerAdvice
public class SpittleErrController {
	
	@ExceptionHandler(SpittleNotFoundException.class)
	public String handleSpittleNotFound(){
		return "err_notfound";
	}

}